package org.vineatoum.process;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;

import org.vineatoum.etats.VinAbstract;
import org.vineatoum.tracking.ITrackableElement;



public abstract class Action implements ITrackableElement{
	protected Date dateDebut;
	
	protected ArrayList<VinAbstract> vinIn = new ArrayList<VinAbstract>();

	public ArrayList<VinAbstract> getVinIn() {
		return vinIn;
	}
	public void setVinIn( ArrayList<VinAbstract> in)
	{
		this.vinIn = in;
	}
	public void getTracking() {
		System.out.println("|--"+this);
		Iterator<VinAbstract> i = (Iterator<VinAbstract>) vinIn.iterator();
		
		while(i.hasNext())
		{
			
			ITrackableElement v =  i.next();
			
			v.getTracking();
		}
	}

}
